package com.xiaoq.manager.entity;

import java.io.Serializable;
import java.util.List;

import org.mongodb.morphia.annotations.Entity;
import com.xiaoq.MongoEntity;

import io.swagger.annotations.ApiModelProperty;


/**
 * 对应的功能板块表
 * @author wang zhihao
 *
 */
@Entity(value="merchant_fun",noClassnameStored=true)
public class MerchantFunEntity extends MongoEntity implements Serializable{
	
	
	@ApiModelProperty(value="编码(100,200,这种第一位数字表示一级板块后面表示二级板块)")
	private String code; // 编码(100,200,这种第一位数字表示一级板块后面表示二级板块)
	
	@ApiModelProperty(value="板块名称")
	private String name; // 板块名称
	private String route; // 路由(板块名称跳转的下一级Url)
	private String memo; // 备注
	
	@ApiModelProperty(value="从上到下显示的顺序")
	private String sortNum; // 从上到下显示的顺序
	private List<MerchantFunEntity> subMenus; //子菜单的列表
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRoute() {
		return route;
	}
	public void setRoute(String route) {
		this.route = route;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getSortNum() {
		return sortNum;
	}
	public void setSortNum(String sortNum) {
		this.sortNum = sortNum;
	}
	public List<MerchantFunEntity> getSubMenus() {
		return subMenus;
	}
	public void setSubMenus(List<MerchantFunEntity> subMenus) {
		this.subMenus = subMenus;
	}
	
	

}
